package iu;

import java.io.*;


public class LComandos {

	public int LeerEntero (String sCadena){
		String sCad = new String ();
		int nNumero=0; 
		nNumero = Integer.parseInt(this.LeerCadena(sCadena));
		return nNumero;
	};
	
	public String LeerCadena (String sCadena){
		String sCad = new String();
		InputStreamReader isr = new InputStreamReader(System.in);
	    BufferedReader br = new BufferedReader(isr);
		try {
			this.EscribirCadena(sCadena);
			sCad = br.readLine();
		}
		catch (IOException ioe){
			sCad = "";
		}
		finally {
			
		}
		return sCad;
	}
	
	public void EscribirCadena (String sCadena){
		System.out.println (sCadena);
	}
	
}
